Typing and Optimal reduction for λ-calculus in variants of Linear logic for Implicit computational complexity
نویسنده
چکیده
Lambda-calculus has been introduced to study the mathematical functions from a computa-tional point of view. It has then been used as a basis for the design of functional programminglanguages. Knowing whether there exists a provably most efficient method to reduce lambda-terms, and evaluate the complexity of this operation in general are still open questions.In this thesis, we use the tools of typing, of Linear logic, of type inference and of Optimalreduction to explore those questions.We present a type inference algorithm for Dual light affine logic (dlal), a type system whichcharacterises the polynomial time complexity class. The algorithm takes in input a system Ftyped lambda-term, and outputs a typing in dlal if there exists one. An implementation isprovided.Then, we extend a type system based on Elementary affine logic with subtyping, in orderto automatise the cœrcions placement. We show that subtyping captures indeed the cœrcions,and we give a fully-fledged type inference algorithm for this extended system.Finally, we adapt Lamping’s Optimal reduction algorithm to the lambda-terms typable inSoft linear logic (sll), also characterising polynomial time. We prove a complexity bound onthe reduction of any Sharing graph, and that lambda-terms typable in sll can be correctlyreduced with our ad-hoc Optimal reduction algorithm.
منابع مشابه
From Hilbert Spaces to Dilbert Spaces: Context Semantics Made Simple
We give a first-principles description of the context semantics of Gonthier, Abadi, and Lévy, a computer-science analogue of Girard’s geometry of interaction. We explain how this denotational semantics models λ-calculus, and more generally multiplicative-exponential linear logic (MELL), by explaining the call-by-name (CBN) coding of the λcalculus, and proving the correctness of readback, where ...
متن کاملPrincipal Typing in Elementary Affine Logic
Elementary Affine Logic (EAL) is a variant of the Linear Logic characterizing the computational power of the elementary bounded Turing machines. The EAL Type Inference problem is the problem of automatically assign to terms of λ-calculus EAL formulas as types. The problem is solved by showing that every λ-term which is typeable has a finite set of principal typing schemata, from which all and o...
متن کاملCharacterizing polynomial and exponential complexity classes in elementary lambda-calculus (abstract)
This paper fits in the research line of implicit computational complexity (ICC), whose goal is to characterize complexity classes without relying on explicit bounds on resources but instead by considering restrictions on programming languages and calculi. One can distinguish in this body of work between some monovalent characterisations, which provide a language for one given complexity class, ...
متن کاملComplexity of Strongly Normalising λ-Terms via Non-idempotent Intersection Types
We present a typing system for the λ-calculus, with non-idempotent intersection types. As it is the case in (some) systems with idempotent intersections, a λ-term is typable if and only if it is strongly normalising. Nonidempotency brings some further information into typing trees, such as a bound on the longest β-reduction sequence reducing a term to its normal form. We actually present these ...
متن کاملReduction of Computational Complexity in Finite State Automata Explosion of Networked System Diagnosis (RESEARCH NOTE)
This research puts forward rough finite state automata which have been represented by two variants of BDD called ROBDD and ZBDD. The proposed structures have been used in networked system diagnosis and can overcome cominatorial explosion. In implementation the CUDD - Colorado University Decision Diagrams package is used. A mathematical proof for claimed complexity are provided which shows ZBDD ...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
عنوان ژورنال:
دوره شماره
صفحات -
تاریخ انتشار 2008